<div class="boxModule mgt20 clearfix">
	<div class="mod-title-pr">
    	<h2><a style="font-size:18px; color:#fff;" href="<?php echo $href; ?>" alt=""><?php echo $heading_title; ?></a></h2>
        
    </div>
    <div class="bycategory_sub_category">
        	<?php /*foreach($categories as $category) { ?>
            	<a href="<?php echo $category['href']; ?>" > <?php echo $category["name"]; ?> </a> &nbsp; | &nbsp;
            <?php } */?>
        
        </div>
    <ul class="lst-mainpr">
              <?php foreach ($products as $product) { ?>
			  <li>
            <div class="dispImg">
                <?php if ($product['thumb']) { ?>
      <a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" /></a>
        <?php } ?>
		<?php if ($product['special']) { ?><span class="lbl-sale2"><b><?php echo $product['saving']; ?></b>%</span> <?php } else { ?><?php } ?>
            </div>
            <div class="desImg">
                <h3>
				<a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></h3>
                
				
				<?php if ($product['price']) { ?>
				<div class="clearfix">
                     <?php if (!$product['special']) { ?>
					 <span class="fb fs15 clPrice fl"><?php echo $product['price']; ?></span>
					 <?php } else { ?>
         
		  <span class="fb fs15 clPrice fl">
		  <?php echo $product['special']; ?>
		  </span>
		   <span class="cl66 txtout fl no-mg">
		  <?php echo $product['price']; ?>
		  </span> 
		  
          <?php } ?>
                
					
                    <!--<span class="fr  cl66 no-mg">Đã mua: <b class="clPrice fs16">0</b></span>-->
                </div>
				 <?php } ?>
            </div>
        </li>
              <?php } ?>	
            </ul>
</div>




